package java9_7;

import java.util.Scanner;

public class Test_2 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("请输入作业的名称");
        String a=in.next();
        if (a.endsWith("zip")||a.endsWith("rar")){
            System.out.println("合适");
        }else{
            System.out.println("不合适");
        }
    }
}
